package com.xl.adminserver.v2.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value ="dispatch-sdk-server", fallbackFactory = ITestClientFallbackFactory.class)//使用Feign
public interface ITestClient {


    @RequestMapping("/test/list")
    List<String> getList(@RequestParam("pileNo") String pileNo);
}





